package com.itita.ww2.game.user.event;

import com.itita.ww2.model.user.UserProfile;
import com.itita.ww2.model.worldmap.Base;
import com.smartfoxserver.v2.entities.data.ISFSObject;

/**
 * 据点捐献监听器
 * @author NorthLan
 *
 */
public interface IUserBaseDonateListener {
	/**
	 * 据点等级捐献
	 * @param flag 是否升级成功
	 */
	public void onBaseLvDonate(UserProfile userProfile, Base base, ISFSObject resObj, boolean flag);

	/**
	 * 据点强化捐献
	 * @param flag 是否强化成功
	 */
	public void onBaseEnDonate(UserProfile userProfile, Base base, ISFSObject resObj, boolean flag);
}
